Removed std::swap for new chipKIT compiler