detecting execution folder only on mac to locate the right place of the texture