Fixes #36 : pre commit compile hook