petsc: link with opt paths

Closes #1503.

Signed-off-by: Ian Lancaster <ilancaster@gmail.com>
petsc: update 3.5.2_1 bottle.