workaround the missing gem-extension