Updated libraries and build tools

Fixed in new commit.