Add CMakeLists.txt for pnmimagetypes.
Add CMakeLists.txt for panda/metalibs/panda
Add missing compiler define in CMakeLists for dtool/metalibs/dtoolconfig.