Changes to build Profiler on Ubuntu