[Build] Modified build file and local rebuild scripts to allow rebuilding of each component separately.