fixes #58. Added proper check for libaio