eliminate compile error w/ gcc 4.9. fix issue #18