HPHPCompiler, update detect compiler.

Fix chrpath with apple.