lua: Fix cross-compilation
authored by Ben Gamari and committed by Will Dietz 8 years ago 47540dab e120c42c