fixed makefile to rm buildir before build