Modified build script to get latest versions of dependencies