Linking against system libmagic library.