Disable i/o buffering

Just a small change to disable buffering so that gcc output is displayed straight away.
I also use `open` instead of `qx/ /`