Avoid an undefined function in optimal_modularity.c