fix #14, raise error if a build has no tasks