Fixing some makefile stuff.
Fixing more makefile badness
Removing dynamic flags from executable compilation
Bug tracking commit for update and BCs