Merge pull request #7 from Thiht/master

Change non-standard #pragma once to #ifndef
Remove inappropriate use of lua_State in navdata