Only AOT compile when building uberjar