Adds the needed libaries