installing the build packages conflicts with calling the gcc class so the puppetlabs/gcc module needs to be installed  and the gcc class called before puppet-librarian is installed.