[build] Fixes profile path for aot compilation