bugfix: fix compiler warnings for gcc-4.8.1.