Fixed linux build; added event handling for death and weapon use

Fixed CMake build file that prevented Linux builds from working correctly due to having Apple-specific compiler and linker flags.

Added event handling for "entity death" and "weapon fire" events. They don't do anything right now except log messages, but it's a start.