Fix/c++11

@simonlynen  this fixes the bus error that I was getting when running vi_map_console

see http://www.mlpack.org/trac/ticket/296
and http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-April/036287.html