Add CFLAGS to C stub build

Disable deprecation warnings for now, but revisit in the near future...
Install the stub libraries as well