When configuring packages, enable library profiling and shared libraries based on the ways in GhcLibWays.