compiler flags for making a shared object