add proper support for "make install" and use it for the linux builds