common.mk: Fix some compile errors