Add '-O2 -g -Wall -Wextra' to AM_CFLAGS