Avoid recompiling multiple times on master