Core/Build: Fixed an issue on Mac OSX that caused errors when compiling

Types like uint64 are also defined in Security Framework on Mac OSX. This causes type conflict errors during build. Added checks to prevent Security Framework from trying to define the same types again.

Original patcher: isair (http://tinyurl.com/commit-topic)

Signed-off-by: Image <EmageDev@gmail.com>