Support supressing directories based on MODE

This is required to stop TRAVIS trying to build FORTRAN