Fix build to work with gcc and --std=c99
Support building nginx module as a dso with tengine's dso_tool
This needs further work to integrate fully: probably hack dso_tool
to support -c/-i compile/install options, and figure out better linkage.
build: Do not fail on dso_tool missing.