Improve GCC compiler detection. Added Clang and Emscripten compiler detections.