Fix for failing tests. gcc 4.8.3 would optimize away the assigment.