ui_shared.c needs to be compiled separately for the cgame module

Otherwise "#ifdef CGAME" in it has no effect
Merge pull request #2 from morturp/patch-1

ui_shared.c needs to be compiled separately for the cgame module