Traverse cfg_if! macro and fetch modules.
cfg_if!
Extracts path = "foo.rs" from attributes.
path = "foo.rs"