Add missing directories for building with CMake