updated library compilation