fixed build without KMSLog defined in a prefix