Windows build now compiles but won't run