DF-4218 Quick implementation of addressof to compile without c++11 support