Why do I get the error is not a valid Win32 application