FLUID-5217: Updated build scripts

Updated the build scripts to work with the new directory structure. One of the consequences of the changes is that the src directory will now appear in the built version of infusion. This is so that the references from the demos, examples, and tests will still be correct.