Fix build with compilers using a separate dependency command