tried cleaning up linux makefile supprot for static libraires but wtihout much success