Fixed BAMF build