Add '-Wall -Wextra' and fix a compiler warning.