Directory checks on gcc script.