semi-fix for linux build.
Makefiles still suck. Oh, what to do!