Fix deterministic build
Created by: dagurval
Reverts "Build with LTO" (83bbfaac) and add tools to test deterministic build.
Tools are based on work by @gandrewstone
Created by: dagurval
Reverts "Build with LTO" (83bbfaac) and add tools to test deterministic build.
Tools are based on work by @gandrewstone