added libs for macosx