Merge pull request #124 from dak180/topic/build-system

Build System Refinements.
Fix problem due to keys location change (issue #125)
Remove old references to files whose location has changed
Revert previous commit
Fix another part of issue #125 : link problem with development build 
Only update autorevision.h if changed.