add an option for build  type