Run build.dart if present

I've added a check for the presence of build.dart, which will be run at the end of the compile script.