Fixed Travis build failures.