Note that ``shelltype`` is not a ``boolean``, but a tristate (powershell being the third option). You should test for the right shell type instead, and output an error if the value is ``SHELL_TYPE_POWERSHELL`` (we can implement that later). Search for ``SHELL_TYPE`` inside ``cf3.defs.h`` to see the definitions.