Really support SunOS for sure
Also substitute INCLUDEDIR and LDSO
Substitute every occurence on each line