Copying headers dependencies. It should  fix ROOT-6801