Fixed the issue reported in #111

The fix was made adding a verification to the set parameters of the build function, so if it detects a "select" as parameter, it adds the lost parenthesis.