changed makefile to allow several builds