Revert "LPS-48581 Put the module elements at the first position in the classpath so SB will use the proper resource permissions to generate the code"

This reverts commit c968e57e2cb5855abd55c431c715fa4374f4a391.