Modification for MacOS compilation.
add notes