Add sign support for the binaries (WIP)
Based on XhmikosR's commit