Moved platform specific defines into seperate file