Fix bugs in AIX, DragonFly4, eCryptFS and Dummy. See #757.