HPHPCompiler, update detect compiler.

- Fix chrpath with apple.
- Refactoring detect compiler `GCC / Clang / Intel C++ / Visual Studio C++`