Added missing definitions required for luasocket and wxlua.