make libgltf compile on OSX

Change-Id: Ie39292137f931bfd557f66c485e104cf5d5089b8