drop the cc dir and package root