add lsdefines
spawn: move Solaris check to feature.h