Platform cleanup

Fixed OX_PLATFORM usage