Added type fallback to unix which

Signed-off-by: Tom Wright <tom@inflatablecookie.com>