Fixes for sed, add lua 5.2.3, choose linux platform on linux

The current string test for os_name == *linux* fails (at least on my CentOS 6.5 install), so the "posix" platform is made