Remove warnings on OS/X