Moved the lib copying script to its own file and added windows setup