HPHPCompiler, update detect compiler. #2347

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