libpthread-stubs support

Signed-off-by: chris <chris@liquidmetalgames.com>