fixed build issue for install