Some minor MacOSX fixes

- added missing "using" in math.h 32 bit
- toolchain fix (defines overwritten x86_64 <=> X86_64)
- removed unix / windows line endings mix in toolchain file