Fix pre build fail under Travis CI