Adding compile.pl and fix bug in DependOn options.