Config compiler: fix cli incompatibility with windows (backport)

Refs #167