Respecting the context when building