fixed compile errors
Merge branch 'ndbtree' of github.com:nathanielherman/fmmtl into ndbtree