Remove GIT_SHA

Signed-off-by: Stephen Cox <stephencoxmail@gmail.com>
Windows compile fixes

Signed-off-by: Stephen Cox <stephencoxmail@gmail.com>
Bugfix after windows fixes

Signed-off-by: Stephen Cox <stephencoxmail@gmail.com>
Allocation table duplicate primary key fix

Signed-off-by: Stephen Cox <stephencoxmail@gmail.com>