Fixed levmar compilation