fix linking when not using MPREAL