Fix #947 - PE libs not working