Resolves memory failure in NonlinearProgramSnoptmex on win32