gromacs 4.6.5

Perform build-time tests.

Closes #959.