Fixing issue #920: Moving require_once for dependencies to main() call, so that a missing-dependency  won't stop the whole build from working
Merge pull request #222 from synchrone/patch-920

Fixing issue #920: Moving require_once for dependencies to main()