uname -s now determines LINKFLAGS in Makefile. Removed extraneous libs.