Fix log2 conflict on CentOS