fix filetransfer/browser build, strcasestr warnings