fixed Makefile for c-skeleton and did dynamic lib ex