Fix conditional in Makefile.am