Check so PTB_PAGES_DIR is defined