Minor bug fixes for running app via SCons.