Added compiler flag to link statically