Simplify SGECustomPath and add an explicit option for local builds