Adding ph7 support to the build. Useful for build-time scripting.