publish: attempting to fix builde errors

generated from commit 75b20fdfbfbf01e1b427fe0b0f9908e1757b7d6c