Fix SYS_PREFIX isn't available in post-link scripts