Cleaned up platform defines with support for Unity 4.6 and 5.0