fix scons flags for solaris