add patch replace-builtin_log-with-ilog2