Fixed #1011: After installation, running applications from the build/staging directory no longer works