This is a further fix to f1b12544, building on 26fd0d26. Tidy up the LWS_WITH_SHARED and LWS_WITH_STATIC options.