Fix loading under windows