Simplified and updated build script.