Fixes for standalone TMVA in ROOT 6