Set thread execution state

prevent Windows from falling into standby
patch from LoRd_MuldeR
Add autotools-style silent build rules

The V variable can be passed directly to make in order to
enable or disable the silent rules. V=0 (the default) turns
them on, anything other than zero turns them off.