use modules to help link frameworks automatically