bamm: cmake fix from macroevolution/bamm@7bc61a916