fix compile warnings in fm-directory-view.c