separate checks if compiler is enabled and compiler api is supported by compiler implementation