fixing the bb build, and pom.xml