add posix feature macro for linux