Add missing types for Linux/ARM.

Only implementation of core.thread is missing.
Merge pull request #603 from redstar/arm

Add missing types for Linux/ARM.
fix glibc links for bits/dlfcn.h