print warning and return error instead of panic if syscalls not available (closes #32)