check if modules are enabled before calling @import

So swift bridging header files don't seem to like the "@import" command.  So if you want to add this podfile to your swift project you get an error.

I just moved them to the .M files.   Should be fine.