Uses #ifdef everywhere for optional syscalls