c++/min better multi compilation