Move compiler.hpp to MPL.Core to avoid circular dependency.

Fixes a misplaced header during modularization effort.