Minor tweaks to the prepare build script

- Don’t mark the build as a failure if there is nothing to build.
- Output the content of the BuildConfig.lua file.