platform linix makefile tweaks: use $(AR) and $(RANLIB) variables; and try to improve dependencies on .a files (libs) so no needless rebuilds (untested)