Change preprocessor symbols guard to pragma once

As requested in #49