Adjusted order of library installation.