Fix bamboo build failure