Don't use absolute path for thrift

thrift-0.9.0 on my system (Ubuntu 12.04) installed to /usr/local/bin/thrift so I couldn't compile the package without this change.