added build option for selecting version