Removed read_options as it was unused.
Removed common prefix writable check and replaced it with a parameterized helper.
Extracted common package installation functions from boost into a general helper.