disable lazy loading code on windows, since import/export macros don't exist yet