fix for where simultaneous installs of lua 5.1 & 5.2 exist

tests for exact version