Added shared lib creation and release flags