add stat (POSIX) macros (thanks to Javier Gutiérrez Chamorro)