show warnings when building in-place from Makefile
fix C compiler warning