make Outline::Lua compile and work on Perl 5.12+

The proposed changes allow Outline::Lua to compile on recent Perl, as well as making sure the module actually works on these versions.
Tested with 5.12.4, 5.14.2, 5.14.3, 5.16.2