Travis osx - compiler diagnosis fix