Fix all build warnings in /scripts