Fix problem running with mod_wsgi

- import application when not run as main()