BuildFreechart: if-statement
lib/CMakeLists: include BuildFreechart cmake file