Update compile script to include commit hash