fixes odd problem when running from source dir and relies on consoleapp.main() to run the app