lua5.1 and lua5.2 support. Multiarch