Added build script to compile all sub-proejcts.