Disable parallel build
Properly create shared library on all platforms