fixing makefile, adding dirs and postinst for alternc-api package