Implement compile subcommand.

W.I.P
Only g++ 4.6 or higher is available.