static and dynamic linking works on macosx -- noch