avoid copying "is windows" check into child