Added libraries and adjusted build file