add posix_lib macro to build make files
portability prototype correction