Automatic inline c++ and c compilation within python