added FOSLIBRARYAPP and FOSLIBRARYSO in Makefile.shared