Fixing OpenStudio x64 runtime crash