made it easier to build static and shared when adding files