BUG: Change working dir when building extension.

Current working directory should be changed (to trusted one) when building
an extension so compiler accidentally won't pick up anything from (untrusted)
current directory.