If NO_COMPAT_NEEDED is defined don't define any compatibility functions.