cleanup moaihttptasknsurl dependency, exclude if http_task not installed.
Export config into a generated moai_config.h for use in hosts.
Fix lib path
TODO: replace /src/config-default with CMAKE_BINARY_DIR/config in all cmake files to have them use the generated header.