Locate resources directory starting from path to executable