Install some libraries before installing Ruby for jenkins