Workaround for broken post compile hook