Makefile: add support for building python binding out-of-tree