Fixes compilation automation