Reorder liblua searching. Fixes building on systems, which also have lua 5.2 as liblua.so.
Merge pull request #112 from Huulivoide/lua51-fix

Reorder liblua searching