Makefile for OSX
Fixed the issue where we used integer literals instead of longs resulting in some large integers being truncated during bit shift operations