Fix some menu elements not showing up. Introduced in 253f2989ca09d3eb197f611c819b4b13b086ff46
Added Lua package script
Remove compiler-specific hacks