Fixed support library compilation