fixed build file
extensions are now all put into separate directories in distribution