Fixed MESA import and build