Fixes for mavericks/xcode5
Merge branch 'master' of https://github.com/javawag/Doom3-for-MacOSX-