Removing reference to ARFLAGS/SOFLAGS in auto-generated Config.mk. Correcting mistake for libraries