fix bug where static frameworks would be ignored for data module files