When you syncmods you shouldn't need to re/build them. Generally they are supplied precompiled for you.
Building modules results in BOTH debug and release code being compiled. The options (debug/quick/gui app) in the IDE are for application compilation only.