Fix "missing dir" issue with build