Added code to allow compiling from a particular branch.