Remove #if !define(SWIG) from framework files