Add conditional compilation option for mx.rpc dependencies.

Fixes #009