Build the library as a module on Windows