Updated makefile, added deploy scripts.
For mac.
Small fix.
Able to get shm/sem id