Adapted for Titan OS

Change-Id: I142ccb9a7c0c614c1e1919dcd1f3d99af54c904f