Reconstruct dir struct to modulized boost's one.