Build with shared libraries
Thrrow away the black magic