Updated openocd patch and added stlink compile flag. Fixes #38