const-correct: fix osx