small improvements to buildfile