Make this ubuntu specific and introduce one per platform.