fixed some compiler warnings when compiling non-glftpd