Fix referencing aliasing with new Protobuild

This fixes the issues with the reference aliasing described in #2609 and on https://github.com/mono/MonoGame/commit/2bb2c30d8bb20490a453209bc088c9f75be11fc4#commitcomment-6437028 by allowing them to be conditional on the platform.