Make compatible with GHC 7.8 and System.Process 1.2