Fix build not working on Windows

Windows doesn't have a `cp` command.
Merge pull request #298 from lluchs/windowsbuild

Fix build not working on Windows