Support scripts/post_compile hook