Implemented build script with all targets and dependencies.