Simplify compilation code