using exe dir in debug and appdata dir in release in os x and linux