build: Fix warn() vs warning() issue