RF: copy includes list for extensions

Accidentally using the same includes, lib list for all extensions. Avoid this
by doing deep copy of dict (that has the lists) before using it.