Make Readline optional
Build stdlib into root
Prevent null dereference
Do not link pthread into tests
Hack interperter triple for mingw32
Fix rasmus linking on mingw32