First things first: you'll need to finish the entire game before you can pull this off.
Once you've beaten it, head to level 4, where you'll find a tunnel leading upward. Make your way up there, and you should spot the mustache waiting for you. Grab it, and the achievement is yours!