Add "make install" support; remove compiler warning