Read from ⎕ and build on OS X

Hi
I've added reading from ⎕ on console and a small fix to the build script because OS X does not have `cp -u`