command/build: cortex build will lowercase filenames; fixes #430