osx: Use osx friendly bindings for GtkEntry

Fixes #995