Fixed error in Travis build