Fix puppet lib loading issues