fixed variables getting lost during compiler detection by storing them temporarily in environment
added auto-discovery via "ARDUINO_SDK_PATH" environment variable, so the path doesn't have to be set individually for each project, if the sdk is installed to a non-standard location