Fix missing include in application.cpp

Causes compilation errors on OS X 10.8.