path fix when there is a config file near the binary + build path