adding platform and plugin directories