Merge in uberjar profile before implicit aot check

Fixes #1358.