Fixed wiz build hopefully.

Moved another of those "optional" features into src/platform