Fixed build command now correctly reads directories.