[DEV] compile and link objective-c code for mac