some build file fixes