This also builds the agent statically with libsysprof_static_dep since we'd need that to avoid installing libsysprof when that isn't wanted. It also ensures the LD_PRELOAD libraries are installed for use by the agent.