Use __DIR__ in stub entry point

Change-Id: I0d0d9b4421bad9ce6f6d23b67a197d29a2f980e1