revise all examples to cope with mcgb.lib and mcgbcheck.lib