Fix errors from Travis build log