quick support for osx based on https://github.com/agl/go-gtk/pull/1/files