Compile user space programs successfully at first time on Redhat Linux