Organizing directories of bricks/net.

#if defined (__APPLE__) detects iOS and Mac OS X compilers