cmake should not get $pkgdir, move to make install