compilation works, but when i do make install it fails