Fix ad-hoc cmake for install