Fix bamboo build