fixes export problems with template specification
Merge pull request #61 from lordgeorg/windowsAPIstuff

fixes export problems with template specification