explicit casts for move assignments to satisfy travis/gcc 4.6.3