cleanup C++ library code
remove unused TRUE/FALSE macros