Use def file instead of macro
remove the clashing add_library()
Merge pull request #2 from johannes/winmoduledefinition

Use def file instead of macro