configure: add cflag to fail on implicit declaration