fix linux makefile for now - split into separate lib makefiles later