[TravisCI] Fixed build errors due to Sys.command change.