Adapt build and scripts to new library location