Solve comple errors in more recent versions of gcc
Solve comple errors in more recent versions of gcc

Also simplify the BoxDim constructors to avoid code repetition.

refs #207

joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue