Integrate tirpc changes for mspac support.

Add options to enable mspac in build.sh