Switch default build to shared. Issue: #3