Update lib/common/Makefile

Fixed bug preventing compilation of many core C standard functions.