Fixed an error for windows. Refs #9243.
Merge branch 'feature/9243_improve_loadeventprenexus' into develop