Try Windows 10
Can you not install an instance of calibre that runs the binary out of the box. This would allow you to verify against a known good and thus eliminate the vagaries of running from source, i.e. what used to be a called regression testing!!
BR