A few changes to make librs232 work with lua5.2

I cannot find a way to make the configure.in work with lua5.2, so I just commented it.