Fixed build issue which was effecting travis only