Bring POSIX stuff up to date with correct commands

Fix issue where the correct macros weren't being used for
command declarations.