fix cpu_graph_lib errors for linux