fix minor issues preventing build like vsftpd