Windows compile specific changes for disabling miner