fix makefile for smartos