Fix build for global file (thanks @fiatjaf)