fix link attribute for mac_framework build closes #25