Fixes event routing to event responders. Also first try compiling with clang.