Fixed build issue with travis