Update SWOnly.cpp to include riffa headers
change Makefile to produce liblegup_mem.a