How do ectomorphs build muscle?

The same way as everyone else.