Added check to for win32 only to prevent error on loading