Posix meterpreter makefile changes

Although I've created a real mess here, the changes from the two commits look correct.

There are a bunch of silly commits that apparently don't do anything. Any recommendations for avoiding this kind of mess is welcome ...

PS. This replaces the previous pull request I created in favor of this branch-based version.