Added PICFLAGS to compile so -pthread is in play for test compilation
Added OS400 configurations
Checked for .srvpgm and removed it because it was inhibiting the searching of the correct .a file.  See here: http://ibm.co/1sdUlqk