Fix build error.

This script will read devicecodename, and fix lunch error