Btree code compiling on Mac