Windows library import/export definition fixes