use a GHC 7.4 compatible System.Environment API