try to detect gnu make, and work around sed incompatibility on solaris
LIB_PUBLIC public functions
add project.ver to hold the version
shared library and installation