it's .dylib instead of static library because it will be loaded dynamically on supported versions of macOS, i.e. 10.11+