primo: added syscalls to primo.lib