Add futex implementation. (Incompatible with OSX)