wtsapi: library loading consolidation and fallback