Add option to build with static libpcre