Fix for Xcode gets confused by string.h
Fix for union pointer with uint32, fix for compatibility with standard libs on OSX