Fixed undefined symbol on linux due to Win32 only code #769