Added support for SDL on MacOSX
Changed to the core lib
Added the uint header into the Matrix header