Move allocation stuff to btConfig, make more cube2 engine friendly.