update compile script and config file

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>