an example using the libtool to compile project