fix standard C lib loading on windows