targets to build both shared and static libraries + compile on osx as well