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

A missing-dependency won't stop the whole build.xml from working