fix initialization on Windows, i.e. cannot convert from bool to bool&