Fix: allow build to proceed if directory is empty