32 bit warning and a bit more robustness to weird directory structures