Fix libpie layout.