Update lib/common/Makefile

Fixed bug preventing compilation of many core C library functions.