Fix bc build script