Add CREATE_STANDALONE_SPAN macro
Fixup some more compiler warnings