Added missing Pthread and libaio flags to log manager