added Mavericks/clang compile fix to apps