Updated library dependencies and build scripts.