pretty sure you don't want to do this against the source dir..it should be something like:

```ruby
--with-pcre=#{install_dir}/embedded
--with-openssl=#{install_dir}/embedded
--with-zlib=#{install_dir}/embedded
```