fix win32 linking / undefined symbols error