Fixed the Makefile install rules and removed a lot of redundancy

this should help upstream to package us properly and makes the whole packaging much more maintainable plus compiling is faster now.