fixed dylib paths on OSX and changed the type of GLHandle from int to GL...

...uint