fix is_native include in log2