Make config.m4 play nice when building inside the source tree