properly export symbols for windows dlls