support building without dlopen support

Conflicts:
	SConstruct
drop use of xml entities in text-font-features test - fixes #2590