fix compile option for travis