Build in separate directory
Fix dependencies