fix build for cray xc

Recent addition of libfabric embdded broke build on Cray XC/XE.
This commit fixes this problem.