phonegap: exclude platforms dir