Avoid double initialization of EmptyPlatform due to some link problem.

This patch also remove EmptyPlatform and the use of OwnPtr from Platform.cpp.

Reviewed by: Thiago Lacerda