Updated build script and dependencies