Fix missing common.hpp when building with Makefile