fix makefile for solaris