Protect all components against compilation on static builds. Signed-off-by: George Bosilca <bosilca@icl.utk.edu>