make config file lookup compatible with windows