Merge pull request #177 from leapmotion/fix-winbuildwarning

Don't use unix specific compiler option on windows
Need to specify dllimport/dllexport in order to create an import lib on Windows