fixing build on windows after dll export fix.