Changed std::addressof to cast. Fixes compiler error on BB10