Compile thirdparty deps with profiling enabled