Problem compiling regexdemo and pipedemo on Redhat linux 5.2