Add option for MULTI_THREAD_SUPPORT = TRUE.
Talk with the developers to clean the source and make it more portable.
Only tested in NetBSD evbarm.

trebol, 2017.

Problems: needs -fPIC; has trouble linking against -lgen. (NetBSD/amd64)
-- wiz 20171026
