Extract base install section

fixes #52