fixed few build errors and added htable and btree files