macosx lib had wrong extension