implementation of gl::get_proc_address for mac OSX