Modified CMake scripts, adding rpaths to Makefiles of the example codes, and changing the color of importaint output messages.