Fixed LD in common makefile and fixed OD