make new Path work with ghc <= 7.6.x