add -DLIBRARY_EXPORTS flag when building libmojibake