Remove unused SOURCE_DIR var in flash script.