Add "rt" to libraries

Newer compilers require -lrt for aio_write and related functions.