add compile notes and compiles fixes for Solaris