updated makefile for libc