Added support for OBJDIR (but does not pass "make distcheck")