Fix statically-linked build (WITHOUT_DYNAMICROOT).
Fix the spelling of function.

Reported by:	ian@
Remove an extra 1 in an #if line

Reported by:	ian@