Fix roofit macros to run with ROOT 6