Added option to switch building between master and develop branch