Allow running of proxy and storage on the same node.

This adds a if defined check to avoid class conflicts
when running swift proxy and storage on the same node.

Change-Id: I60fb78e5d40605ab47f349d154737ef9bab641f4
(cherry picked from commit 4b9e74a7a275f32217d86487f975c8ded85317b2)