Updated build and test scripts.