Fix the bad guard around #include <unistd.h> and drop the `register' keyword which is no longer accepted as of C++ 17 instead of forcing the particular (less strict) C++ standard. Reclaim maintainership.