Create build directory when not present.

Otherwise and task fail after a clean.
Remove unnecessary dependency.