Use dir_entry.path().filename()

- Replace directory_entry.leaf() with directory_entry.path().filename(); this allows compiling with Boost >= 1.49.