Created setExeDir function for windows. Upon failure exe_dir is set to current dir