This is the same as the one defined in imports.h, but from utils. XXX: needs to be compiled with msvc