OSX bundle build: take care of static libraries