fix two preprocessor ifdefs for us with c++ builder. add in an entry to gitignore for c++ builders history folder.