Fix after-check-out.sh, work around beagrep compilation.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>