COMP: Fix MODULE_IMPORT for windows compilation and linking