Fixed installation files

I modified the makefiles so that you can set some variables in the top-level file and the other ones will all just work! This means polyc can be built on husker/baltar etc.