Fix LZO linking flags and class_list.cpp compilation