Compiling on windows. Same runtime linking error as on OS X