fixed building using cmake with -DENABLE_PANDORA=on