Fixed travis compile issue