bug fixes due to Mac OS X upgrade of clang. removed register keywords and LTO flags