riscv32 will define both syscalls but with equal value, and long will not be the right timespec member type.
this is not the cleanest fix but should at least make it non-broken.