fix build on linux (dynamic build for now)