Refine quick_build.sh for qpad and tdh board.