Only mix compile -q recompiles unnecessarly

mix compile --quick was recompiling previously compiled files even when nothing had changed

Fixes #1061