Fix macos warning for create_gnu_hash