add upper bound on aeson < 0.7 to prevent build errors. also add profiling and threading options to build