configure: move werror flag to features