updated build properties, upated pgl access which fixes #3