Actually disable the part module when not compatible.

This will further reduce the chances of things going pear shaped.
Add CC to the makefile