Fixed AVL configuration bug in checkDependency

I was having trouble getting AVL recognized by the drake checkDependency routine. Turns out the cmake command was running from the current matlab directory rather than from root, so it couldn't find /pod-build. Works for me now. Andy helped out a bit too.

Trajectory optimization and SOS installed no problem.