Fix "Payload file does not exist" error when referencing as a DLL.