fix(build_library): mkdir /usr/share/coreos in the right order

This is important otherwise things fail to create files because the
directoreis don't exist.