window: Make the build log configurable as it may impact RAM usage or performance