Build improvements for Windows

* Restored the icon to the Windows executable
* Set memory limits on the Windows executable
* Configured OS X build to delete bundle before rebuild, otherwise building the OS X bundle on Windows fails